package com.macro.mall.mapper;

import com.macro.mall.model.PmProdStockIoRecord;
import com.macro.mall.model.PmProdStockIoRecordExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PmProdStockIoRecordMapper {
    long countByExample(PmProdStockIoRecordExample example);

    int deleteByExample(PmProdStockIoRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdStockIoRecord record);

    int insertSelective(PmProdStockIoRecord record);

    List<PmProdStockIoRecord> selectByExample(PmProdStockIoRecordExample example);

    PmProdStockIoRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdStockIoRecord record, @Param("example") PmProdStockIoRecordExample example);

    int updateByExample(@Param("record") PmProdStockIoRecord record, @Param("example") PmProdStockIoRecordExample example);

    int updateByPrimaryKeySelective(PmProdStockIoRecord record);

    int updateByPrimaryKey(PmProdStockIoRecord record);
}